﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace Hospital.Model.entity
{
    public class UserInfo : BaseId
    {
        [SugarColumn(Length = 20)]
        public string? Account { get; set; }
        [SugarColumn(Length = 50)]
        public string? Password { get; set; }

        [SugarColumn(IsNullable = true)]
        public string? Email { get; set; }

        [SugarColumn(IsNullable = true)]
        public string? ContactPhone { get; set; }

        [SugarColumn(Length = 20)]
        public string Permissions { get; set; } = "user";
    }
}
